package com.acme.bankapp.domain.bank.transport;

import com.acme.bankapp.domain.bank.exception.ConnectionException;

public interface Connection extends AutoCloseable {
    String readLine() throws ConnectionException;
    void writeLine(String line) throws ConnectionException;
}
